#ifndef CHATMANAGER_H
#define CHATMANAGER_H

#include "Networking/session.h"
#include "Networking/user.h"
#include "Change/chatmessage.h"


class ChatManager
{
public:
        ChatManager(Session *newParent) {parent = newParent;}
        void receiveMsg(QByteArray bytes);
        void sendMsg(QString msg);
        void receiveSys(QByteArray bytes);
        void sendSys(QString msg);

private:
	Session *parent;
};

#endif //CHATMANAGER_H
